<style>
    	.search_form .layui-inline {
    		padding-left: 0px;
    	}

    	.layui-form-label {
    		line-height: 25px;
    	}

    	.search_form .layui-form-label {
    		padding: 5px 5px 0 5px;
    	}
    </style>

    <div class="search-box">
    	<form class="search_form layui-form" lay-filter="tuisong_search_form">
			<div class="layui-inline">
				<label class="layui-form-label layui-bg-blue">推送状态</label>
				<div class="layui-input-inline">
					<select name="jun_order_state" lay-filter="jun_order_state" id="jun_order_state">
						<option value="">全部</option>
						<option value="0">无效订单</option>
						<option value="1">待确认</option>
						<option value="2">待发货</option>
						<option value="3">待支付</option>
						<option value="4">待收货</option>
						<option value="5">已完成</option>
						<option value="6">已退货</option>
						<option value="7">已取消</option>
						<option value="8">待妥投</option>
						<option value="9">已废止</option>
					</select>
				</div>
			</div>
    		
    		<div class="layui-inline">
    			<label class="layui-form-label layui-bg-blue">金额</label>
    			<div class="layui-input-inline">
    				<input type="text" name="min_order_money" autocomplete="off" class="layui-input" placeholder="最低金额">
    			</div>
    			<div class="layui-input-inline">
    				<input type="text" name="max_order_money" autocomplete="off" class="layui-input" placeholder="最高金额">
    			</div>
    		</div>
    		<div class="layui-inline">
    			<label class="layui-form-label layui-bg-blue">订单号</label>
    			<div class="layui-input-inline">
    				<input type="text" name="order_no" autocomplete="off" class="layui-input"
    					onkeyup="this.value=this.value.replace(/[, ]/g,'')">
    			</div>
    		</div>
    		<div class="layui-inline">
    			<label class="layui-form-label layui-bg-blue">军采单号</label>
    			<div class="layui-input-inline">
    				<input type="text" name="out_order_no" autocomplete="off" class="layui-input"
    					onkeyup="this.value=this.value.replace(/[, ]/g,'')">
    			</div>
    		</div>
    		<div class="layui-inline">
    			<label class="layui-form-label layui-bg-blue">库房</label>
    			<div class="layui-input-inline">
    				<input type="text" name="susername" autocomplete="off" class="layui-input">
    			</div>
    		</div>
    		<div class="layui-inline">
    			<label class="layui-form-label layui-bg-blue">业务员</label>
    			<div class="layui-input-inline">
    				<input type="text" name="yewuyuan" autocomplete="off" class="layui-input">
    			</div>
    		</div>
    		<!--
		<div class="layui-inline">
			<label class="layui-form-label layui-bg-blue">收货人</label>
			<div class="layui-input-inline">
				<input type="text" name="truename" autocomplete="off" class="layui-input">
			</div>
		</div>-->
    		<div class="layui-inline">
    			<label class="layui-form-label layui-bg-blue">收货电话</label>
    			<div class="layui-input-inline">
    				<input type="text" name="phone" autocomplete="off" class="layui-input">
    			</div>
    		</div>
    		<div class="layui-inline">
    			<label class="layui-form-label layui-bg-blue">地址</label>
    			<div class="layui-input-inline">
    				<input type="text" name="j_address" autocomplete="off" class="layui-input">
    			</div>
    		</div>
    		<div class="layui-inline">
    			<label class="layui-form-label layui-bg-blue">下单日期</label>
    			<div class="layui-input-inline">
    				<input type="text" name="order_form_create_time_start" autocomplete="off" class="layui-input"
    					placeholder="开始日期">
    			</div>
    			<div class="layui-input-inline">
    				<input type="text" name="order_form_create_time_end" autocomplete="off" class="layui-input"
    					placeholder="结束日期">
    			</div>
    		</div>
			<div class="layui-inline">
			    			<label class="layui-form-label layui-bg-blue">指派日期</label>
			    			<div class="layui-input-inline">
			    				<input type="text" name="push_supplier_time_start" autocomplete="off" class="layui-input"
			    					placeholder="开始日期">
			    			</div>
			    			<div class="layui-input-inline">
			    				<input type="text" name="push_supplier_time_end" autocomplete="off" class="layui-input"
			    					placeholder="结束日期">
			    			</div>
			    		</div>

    		<div class="layui-inline">
    			<label class="layui-form-label layui-bg-blue">订单状态</label>
    			<div class="layui-input-inline search-radio-box">
    				<input type="radio" name="order_state" value="" title="全部" checked>
    				<input type="radio" name="order_state" value="1" title="待确认">
    				<input type="radio" name="order_state" value="2" title="等待发货">
    				<input type="radio" name="order_state" value="3" title="等待收货">
    				<input type="radio" name="order_state" value="4" title="已收货">
    				<input type="radio" name="order_state" value="5" title="订单完成">
    			</div>
    		</div>
    		<div class="layui-inline">
    			<label class="layui-form-label layui-bg-blue">订单确认</label>
    			<div class="layui-input-inline search-radio-box">
    				<input type="radio" name="supplier_state" value="" title="全部" checked>
    				<input type="radio" name="supplier_state" value="2" title="未分配">
    				<input type="radio" name="supplier_state" value="1" title="已确认">
    				<input type="radio" name="supplier_state" value="3" title="未确认">
    			</div>
    			<div class="layui-input-inline">
    				<input type="text" name="supplier_confirm_time_start" autocomplete="off" class="layui-input"
    					placeholder="开始日期">
    			</div>
    			<div class="layui-input-inline">
    				<input type="text" name="supplier_confirm_time_end" autocomplete="off" class="layui-input"
    					placeholder="结束日期">
    			</div>
    		</div>
    		<div class="layui-inline">
    			<label class="layui-form-label layui-bg-blue">是否发货</label>
    			<div class="layui-input-inline search-radio-box">
    				<input type="radio" name="gys_fh_state" value="" title="全部" checked>
    				<input type="radio" name="gys_fh_state" value="2" title="未发货">
    				<input type="radio" name="gys_fh_state" value="1" title="已发货">
    			</div>
    			<div class="layui-input-inline">
    				<input type="text" name="gys_fh_time_start" autocomplete="off" class="layui-input"
    					placeholder="开始日期">
    			</div>
    			<div class="layui-input-inline">
    				<input type="text" name="gys_fh_time_end" autocomplete="off" class="layui-input" placeholder="结束日期">
    			</div>
    		</div>
    		<div class="layui-inline">
    			<label class="layui-form-label layui-bg-blue">是否收货</label>
    			<div class="layui-input-inline search-radio-box">
    				<input type="radio" name="gys_sh_state" value="" title="全部" checked>
    				<input type="radio" name="gys_sh_state" value="2" title="未收货">
    				<input type="radio" name="gys_sh_state" value="1" title="已收货">
    			</div>
    			<div class="layui-input-inline">
    				<input type="text" name="gys_sh_time_start" autocomplete="off" class="layui-input"
    					placeholder="开始日期">
    			</div>
    			<div class="layui-input-inline">
    				<input type="text" name="gys_sh_time_end" autocomplete="off" class="layui-input" placeholder="结束日期">
    			</div>
    		</div>
			<div class="layui-inline">
				<label class="layui-form-label layui-bg-blue">申请发票</label>
				<div class="layui-input-inline">
					<select name="apply_state" lay-filter="apply_state" id="apply_state">
						<option value="">全部</option>
						<option value="2">等待审核</option>
						<option value="3">审核通过</option>
						<option value="4">驳回审核</option>
					</select>
				</div>
				<div class="layui-input-inline">
    				<input type="text" name="apply_time_start" autocomplete="off" class="layui-input"
    					placeholder="申请开始日期">
    			</div>
    			<div class="layui-input-inline">
    				<input type="text" name="apply_time_end" autocomplete="off" class="layui-input"
    					placeholder="申请结束日期">
    			</div>
    			<div class="layui-input-inline">
    				<input type="text" name="apply_shehe_time_start" autocomplete="off" class="layui-input"
    					placeholder="审核开始日期">
    			</div>
    			<div class="layui-input-inline">
    				<input type="text" name="apply_shehe_time_end" autocomplete="off" class="layui-input"
    					placeholder="审核结束日期">
    			</div>
			</div>
			
			<div class="layui-inline">
				<label class="layui-form-label layui-bg-blue">电子发票</label>
				<div class="layui-input-inline">
					<select name="returncode" lay-filter="returncode" id="returncode">
						<option value="">全部</option>
						<option value="1">未开具</option>
						<option value="2">开具成功</option>
						<option value="3">开具失败</option>
					</select>
				</div>
				<div class="layui-input-inline">
    				<input type="text" name="invoice_time_start" autocomplete="off" class="layui-input"
    					placeholder="开始日期">
    			</div>
    			<div class="layui-input-inline">
    				<input type="text" name="invoice_time_end" autocomplete="off" class="layui-input"
    					placeholder="结束日期">
    			</div>
			</div>
		
    		<div class="layui-inline">
    			<label class="layui-form-label layui-bg-blue">用户发票</label>
    			<div class="layui-input-inline search-radio-box">
    				<input type="radio" name="invoice_state" value="" title="全部" checked>
    				<input type="radio" name="invoice_state" value="1" title="未开票">
    				<input type="radio" name="invoice_state" value="2" title="已开票">
    			</div>
    		</div>
    		<div class="layui-inline">
    			<label class="layui-form-label layui-bg-blue">发货</label>
    			<div class="layui-input-inline search-radio-box">
    				<input type="radio" name="shopping_state" value="" title="全部" checked>
    				<input type="radio" name="shopping_state" value="1" title="未配送">
    				<input type="radio" name="shopping_state" value="2" title="已配送">
    			</div>
    			<div class="layui-input-inline">
    				<input type="text" name="jc_fh_time_start" autocomplete="off" class="layui-input"
    					placeholder="开始日期">
    			</div>
    			<div class="layui-input-inline">
    				<input type="text" name="jc_fh_time_end" autocomplete="off" class="layui-input" placeholder="结束日期">
    			</div>
    		</div>
    		<div class="layui-inline">
    			<label class="layui-form-label layui-bg-blue">收货</label>
    			<div class="layui-input-inline search-radio-box">
    				<input type="radio" name="receipt_state" value="" title="全部" checked>
    				<input type="radio" name="receipt_state" value="1" title="未收货">
    				<input type="radio" name="receipt_state" value="2" title="已收货">
    			</div>
    			<div class="layui-input-inline">
    				<input type="text" name="jc_sh_time_start" autocomplete="off" class="layui-input"
    					placeholder="开始日期">
    			</div>
    			<div class="layui-input-inline">
    				<input type="text" name="jc_sh_time_end" autocomplete="off" class="layui-input" placeholder="结束日期">
    			</div>
    		</div>
    		<div class="layui-inline">
    			<label class="layui-form-label layui-bg-blue">采购合同</label>
    			<div class="layui-input-inline search-radio-box">
    				<input type="radio" name="caigou_hetong" value="" title="全部" checked>
    				<input type="radio" name="caigou_hetong" value="1" title="未上传">
    				<input type="radio" name="caigou_hetong" value="2" title="已上传">
    			</div>
    		</div>
    		<div class="layui-inline">
    			<label class="layui-form-label layui-bg-blue">采购发票</label>
    			<div class="layui-input-inline search-radio-box">
    				<input type="radio" name="caigou_invoice_duty" value="" title="全部" checked>
    				<input type="radio" name="caigou_invoice_duty" value="1" title="未开票">
    				<input type="radio" name="caigou_invoice_duty" value="2" title="已开票">
    			</div>
    		</div>
    		<div class="layui-inline">
    			<label class="layui-form-label layui-bg-blue">采购发票审核</label>
    			<div class="layui-input-inline search-radio-box">
    				<input type="radio" name="caigou_state" value="" title="全部" checked>
    				<input type="radio" name="caigou_state" value="1" title="通过">
    				<input type="radio" name="caigou_state" value="2" title="待审核">
    				<input type="radio" name="caigou_state" value="3" title="驳回">
    			</div>
    		</div>
    		<div class="layui-inline">
    			<label class="layui-form-label layui-bg-blue">收款</label>
    			<div class="layui-input-inline search-radio-box">
    				<input type="radio" name="pay_state" value="" title="全部" checked>
    				<input type="radio" name="pay_state" value="2" title="全部收款">
    				<input type="radio" name="pay_state" value="4" title="质保金收款">
    				<input type="radio" name="pay_state" value="3" title="部分收款">
    				<input type="radio" name="pay_state" value="1" title="未收款">
    			</div>
    		</div>
    		<div class="layui-inline">
    			<label class="layui-form-label layui-bg-blue">付款</label>
    			<div class="layui-input-inline search-radio-box">
    				<input type="radio" name="ghs_pay" value="" title="全部" checked>
    				<input type="radio" name="ghs_pay" value="1" title="全部付款">
    				<input type="radio" name="ghs_pay" value="2" title="质保金付款">
    				<input type="radio" name="ghs_pay" value="3" title="部分付款">
    				<input type="radio" name="ghs_pay" value="4" title="未付款">
    			</div>
				<div class="layui-input-inline">
				    				<input type="text" name="ghs_pay_time_start" autocomplete="off" class="layui-input"
				    					placeholder="开始日期">
				    			</div>
				    			<div class="layui-input-inline">
				    				<input type="text" name="ghs_pay_time_end" autocomplete="off" class="layui-input" placeholder="结束日期">
				    			</div>
    		</div>
    		<div class="layui-inline">
    			<div class="layui-input-inline">
    				<button type="button" id="tuisong_search_btn"
    					class="layui-btn layui-btn-normal layui-btn-sm layui-bg-red">搜 索</button>
    			</div>
    		</div>
    		<div class="pack-up"></div>
    	</form>
    </div>
    <table class="layui-hide" id="tuisong_list" lay-filter="tuisong_list"></table>
    <script>
    	var tuisong_list_url = "{:url('tuisong/ajaxList')}";
		var tuisong_cols = {$cols};
		var tuisong_goods_cols_invoice = {$goods_cols_invoice};
		var tuisong_goods_cols_invoice_old = {$goods_cols_invoice_old};
		var cart_detail_url = "{:url('tuisong/getCartList')}";
		var save_cart_info_url = "{:url('tuisong/saveCartInfo')}";
    	$.getScript('/static/js/tuisong/index.js');
    </script>
	<script type="text/html" id="tuisong_tool">
		<div class="layui-btn-group">
			<a class="" lay-event="viewMore" data-title="查看详情"><i class="layui-icon layui-icon-right"></i></a>
		</div>
	</script>
	<script type="text/html" id="order_moneyTpl">
	{{# 
		d.order_money/100;
	# }}
	</script>
	<style>
		td .layui-table-header{
			height: auto;
		}
	</style>
